package com.example.echarts.controller;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.example.echarts.entity.ChinaAsiangameInfo;
import com.example.echarts.entity.WorldAsiangameInfo;
import com.example.echarts.service.IChinaAsiangameInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author xiaowei
 * @since 2022-05-04
 */
@RestController
@RequestMapping("/chinaAsiangameInfo")
public class ChinaAsiangameInfoController {
        @Autowired
        IChinaAsiangameInfoService iChinaAsiangameInfoService;
         @RequestMapping("/getall")
         public List<ChinaAsiangameInfo> getall(){
            return iChinaAsiangameInfoService.getBaseMapper().selectList(Wrappers.lambdaQuery());
        }


}

